/*
 * Epik Input
 * @author Justin
 *
 * A class to get user txt input on the PSP
 *
 * EXAMPLE:
   	EpikInput ei("blah");
	std::string txt = ei.GetInput();
 */
#ifndef _EPIK_INPUT_H_
#define _EPIK_INPUT_H_

#include <pspdebug.h>
#include <pspdisplay.h>
#include <pspgu.h>
#include <pspkernel.h>
#include <cstring>
#include <string>
#include <psputility.h>

class Epik_Input {
	static const int TEXT_SIZE__ = 128;

	unsigned short text;
	unsigned short descText_[TEXT_SIZE__];
	unsigned short inText_[TEXT_SIZE__];
	unsigned short outText_[TEXT_SIZE__];
	SceUtilityOskData data_;
	SceUtilityOskParams params_;

public:
	Epik_Input(char *title);
	~Epik_Input();

	std::string GetInput();

private:
	void Keyboard();
};

#endif
